﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SubjectApplyInfoBlank.aspx.cs" Inherits="BOH.Reports.SubjectApplyInfoBlank" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>【学科组评审记录】</title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />
</head>
<style>
    body
    {
        font-family:宋体;
    }
    tr
    {
    	height:23px;
    }
    .divPrintShow
    {
	    display:none;
    }
</style>
<style media="print">
    .divPrint
    {
        display: none;
    }
    .divPrintShow
    {
    	display:block;
    }
</style>
<body>
    <form id="form1" runat="server">
    <div>
        <center>
            <div id="PersonalReportTitle">
                <h2>
                    <asp:label ID="labApplyPeriodTitle" runat="server"></asp:label>上海市卫生系列高级专业技术职务任职资格评审学科组评审记录
                    <br />
                </h2>
            </div>
            <div id="PersonalReportTitle">
                学科组名称：<asp:Label ID="labSubjectName" runat="server"></asp:Label>
            </div>
            <div style="padding-top:20px;">
                <asp:GridView ID="SubjectList" runat="server" AutoGenerateColumns="false" Width="1400px"
                    CssClass="TableReport" AllowPaging="True" PageSize="25" OnRowCreated="SubjectList_RowCreated">
                    <Columns>
                        <asp:TemplateField HeaderText="学科组编号">
                            <ItemStyle Height="20px" />
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ApplyPrintID")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="单位名称">
                            <ItemStyle HorizontalAlign="Left" />
                            <ItemTemplate>
                                <span>
                                    <%# Eval("UnitGovernName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="姓名">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Apply_Name")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="性别">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Gender")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="出生年月">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Birthday")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="最高学历">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("EducationName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="毕业年月">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("GraduationDate")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="现任职称">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("CurrentJobRankName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="取得时间">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobDate")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="聘用年限">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobTerm")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报专业">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("SpecialityName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报职称">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobRankName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报类型">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ApplyTypeName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="政治考核">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("PoliticsResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="业务考核">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="外语名称">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ForeignLanguageName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="外语成绩">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ForeignResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="计算机成绩">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ComputerResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <%--<asp:TemplateField HeaderText="论文成绩">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ThesisResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="面试成绩">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("InterviewResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>--%>
                        <asp:TemplateField HeaderText="综合评分">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ResultSum")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="应到人数">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("TotalNumber").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="实到人数">
                            <ItemTemplate>
                                <span>
                                    <%#ConvertEnpty(Eval("ActualNumber").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="同意">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("AgreeNumber").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="不同意">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("DenyNumber").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="弃权">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("AbstrainNumber").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="备注">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("comment")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
                <br />
                <!--<div id="divPager"> -->
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                <div class="divPrint">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="25" AlwaysShow="True"
                        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                        ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                    </webdiyer:AspNetPager>
                </div>
                <div class="divPrintShow">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr>
                            <td align="center">
                                第&nbsp;<asp:Label ID="labCurrentPage" runat="server"></asp:Label>&nbsp;页,共&nbsp;<asp:Label ID="labTotlePage" runat="server"></asp:Label>&nbsp;页，每页显示<asp:Label ID="labRecord" runat="server"></asp:Label>条记录
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            
            <div class="divPrint">
                <asp:Button ID="butExecl" runat="server" onclick="butExecl_Click" Text="导出Excel"/>
            </div>
        </center>
    </div>
    </form>
</body>
</html>
